#ifndef ENGRPMPANEL_H
#define ENGRPMPANEL_H

#include<QWidget>
class EngRPMPanel: public QWidget
{
public:
    EngRPMPanel(QWidget* parent);
    void setRPMValue(int RPM);
protected:
    void paintEvent(QPaintEvent *);
    void drawRing(QPainter *painter);
    void drawPointer(QPainter *painter);
    void drawLabel(QPainter *painter);
    void drawNum(QPainter *painter);
private:
    int RPM;
};

#endif // ENGRPMPANEL_H
